package com.lmk.ms.common.vo.auth;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2022/02/16
 */
@Data
@Schema(description = "用户信息")
public class UserInfoVO {
    @Schema(description = "序号")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String username;

    /**
     * 手机
     */
    @Schema(description = "手机")
    private String mobile;

    /**
     * 邮箱
     */
    @Schema(description = "邮箱")
    private String email;

    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickname;

    /**
     * 头像
     */
    @Schema(description = "头像")
    private String avatar;

    /**
     * 性别：0.女，1.男
     */
    @Schema(description = "性别：0.女，1.男")
    private Integer gender;

    /**
     * 等级ID
     */
    @Schema(description = "等级ID")
    private Long levelId;

    /**
     * 状态：-1.删除，0.冻结，1.正常
     */
    @Schema(description = "状态：-1.删除，0.冻结，1.正常")
    private Integer status;
}
